﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace CarsRegistrationService.Models.ViewModel
{
    public class LogInViewModel : BaseModel
    {
        [Required(ErrorMessage = "Введите ваш логин")]
        [DisplayName("Логин")]
        public string Login { get; set; }

        [Required(ErrorMessage = "Введите ваш пароль")]
        [DisplayName("Пароль")]
        public string Password { get; set; }
    }
}